package com.legendshop.openportal.sdk.model.response.v4;

import com.legendshop.openportal.sdk.model.BaseResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author jzh
 * @version 1.0.0
 * @title ProdCategoryV4Response
 * @date 2025/5/9 9:47
 * @description：商品类目响应对象
 */
@Data
public class ProdCategoryV4Response extends BaseResponse {

    private final static long serialVersionUID = 1L;

    /**
     * 分类ID
     */
    @ApiModelProperty("分类ID")
    private Long categoryId;

    /**
     * 分类名称
     */
    @ApiModelProperty("分类名称")
    private String categoryName;

    /**
     * 父分类ID
     */
    @ApiModelProperty("父分类ID")
    private Long parentId;

    /**
     * 分类层级
     */
    @ApiModelProperty("分类层级")
    private Integer grade;

    /**
     * 子分类列表
     */
    @ApiModelProperty("子分类列表")
    private List<ProdCategoryV4Response> childrens;

}
